package com.ssh.ser.comonstaff;

import com.ssh.entity.Staff;
import com.ssh.entity.StaffUseCar;
import com.ssh.model.pdata.StaffVehicleIOCPData;

public interface StaffServiceI {

	public Staff login(String staffId,String password);
	/**
	 * 员工驾车离开*/
	public StaffUseCar leaveByVehhicle(StaffUseCar staffUseCar);
	/**
	 * 员工驾车返回*/
	public StaffUseCar backByVehhicle(StaffUseCar staffUseCar);
	/**
	 * 返回StaffUseCar*/
	public StaffUseCar getSUCById(String staffId);
	/**
	 * 返回StaffUseCar*/
	public StaffUseCar verifyByUseCarStaffId(String staffId);

	public void updateStaffInfo(Staff staff);

	/**
	 * 返回员工部门用车相关信息*/
	public StaffVehicleIOCPData getAllSUseCarInf(String staffId,String staffUseCarId ,String vehicleId,String state);

	/**
	 * 返回员工部门用车相关信息*/
	public StaffVehicleIOCPData getAllSUseCarInf(String staffUseCarId,String vehicleId,String state);
	/**
	 * 返回员工部门用车相关信息*/
	public StaffVehicleIOCPData getAllSUseCarInf(String staffUseCarId,String state);
	/**
	 * @param staffId
	 * @param state
	 * @return 返回员工部门用车信息
	 */
	public StaffUseCar verifyByUseCarStaffId(String staffId, String state);
}
